import React, {
    PureComponent
} from 'react';

import {
    StyleSheet,
} from 'react-native';

import LinearGradient from 'react-native-linear-gradient';

class Linear extends PureComponent {
    render() {
        return (
            <LinearGradient
                start={{x: 0, y: 0}}
                end={{x: 1, y: 1.0}}
                style={styles.lineStyle}
                colors={[
                    'rgba(238, 238, 238, .1)',
                    'rgba(255, 255, 255, 1)',
                    'rgba(255, 255, 255, .1)'
                ]}
            />
        )
    }
}

export default Linear;

const styles: any = StyleSheet.create({
    lineStyle:{
        height:1.5
    }
})